<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>NizoviAsocijativni</title>
    </head>
    <body>
        <script type="text/javascript">
        var hashMapa = new Array();
        hashMapa["prvi"]="Dam";
        hashMapa["drugi"]="Damar";        
        alert(hashMapa["prvi"]);
        </script>
    </body>
</html>